package com.db.dao;
import java.sql.Connection;
import com.db.bean.President;
import util.BaseDAO;

/**
* @author 作者:秋哲    E-mail:2810201146@qq.com:
* @version 创建时间：2020年5月21日 下午3:07:20
* @description: 
*/
public class PresidentDAOImpl extends BaseDAO<President> implements PresidentDAO {
	@Override
	public President getByID(Connection conn, int president_id) {
		String sql = "select * from user_president where id = ?";
		President query = query(sql, 1);
		System.out.println(query.getId());
		return null;
	}
}
